-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New script generating release notes #5613
Conversation
... so that one can use the utils code without having the "github" python package installed.
eb20b4b
to
241cedd
Compare
There are a bunch of (minor) issues with the python code that could be improved (unused imports, non-pythonic code like Some questions:
|
Co-authored-by: James Mitchell <james-d-mitchell@users.noreply.github.com>
Sure, go ahead.
Not for the scripts generating release notes and creating the stable branch. But of course the scripts that actually make the release are tested, which is good because I touched them a little bit, too, and testing them manually is quite annoying.
So far I just didn't think it's worth the effort to try to automate testing for these. But if someone else were to spend efforts on it, of course I wouldn't mind... In each case the only somewhat OK way to test them I can think of is to use some fixed pre-defined set of inputs for them, and store a reference output in the repository, and compare against that.
But again, I don't think it's that important to have CI tests for them: I tested them extensively while preparing this PR. Otherwise they are usually never changed. Of course they are also rarely used (just a few times per year for releases) and if they break it's holding up a release, but the risk is low overall, typically it would be some URL in the package distro changing (not that they should change, but that's one of the few external things that could change w/o anyone touching the scripts). |
BTW ideally also
|
Thanks @fingolfin I've opened a PR into your fork (and this branch) with some cleanups. I think there's at least one bug that still needs to be resolved: |
@james-d-mitchell how about we merge this PR, and you add your changes in a fresh PR to this repo? That might be easier to manage and increases visibility for others :-) |
Sure thing @fingolfin sounds good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves #5001